package com.sinbader.xiaole.common.model.params;

import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModelProperty;
import cn.stylefeng.roses.kernel.model.validator.BaseValidatingParam;

/**
 * 采购订单明细信息表
 */
@Data
@Accessors(chain = true)
public class BuyOrderInfoDetailParam implements Serializable, BaseValidatingParam {

    private static final long serialVersionUID = 1L;


	@ApiModelProperty(value = "主键")
    private Long id;

	@ApiModelProperty(value = "主表id")
    private Long parentId;

	@ApiModelProperty(value = "单据明细编号")
    private String detailNum;

	@ApiModelProperty(value = "商品id")
    private Long productId;

	@ApiModelProperty(value = "商品名称")
    private String productName;

	@ApiModelProperty(value = "适用车型")
    private String applyCarModel;

	@ApiModelProperty(value = "产地")
    private String producePlace;

	@ApiModelProperty(value = "规格")
    private String format;

	@ApiModelProperty(value = "单位")
    private String unit;

	@ApiModelProperty(value = "品牌")
    private String brand;

	@ApiModelProperty(value = "供应商id")
    private Long supplierId;

	@ApiModelProperty(value = "供应商名称")
    private String supplierName;

	@ApiModelProperty(value = "仓库id")
    private Long warehouseId;

	@ApiModelProperty(value = "仓库名称")
    private String warehouseName;

	@ApiModelProperty(value = "货架id")
    private Long shelfId;

	@ApiModelProperty(value = "货架名称")
    private String shelfName;

	@ApiModelProperty(value = "订货数量")
    private Integer orderCount;

	@ApiModelProperty(value = "实际到货数量")
    private Integer actualArrivalCount;

	@ApiModelProperty(value = "订货价(单价）")
    private BigDecimal unitPrice;

	@ApiModelProperty(value = "订货金额")
    private BigDecimal orderAmt;

	@ApiModelProperty(value = "订单项数(种类)")
    private Integer orderTypeCount;

	@ApiModelProperty(value = "采购员id")
    private Long buyer;

	@ApiModelProperty(value = "备注")
    private String remark;

	@ApiModelProperty(value = "经手人id")
    private Long handleUser;

	@ApiModelProperty(value = "创建时间")
    private Date createTime;

	@ApiModelProperty(value = "创建人id")
    private Long createUser;

	@ApiModelProperty(value = "审核人id")
    private Long auditUser;

	@ApiModelProperty(value = "审核时间")
    private Date auditTime;

	@ApiModelProperty(value = "更新时间")
    private Date updateTime;

	@ApiModelProperty(value = "打印时间")
    private Date printTime;

	@ApiModelProperty(value = "更新人id")
    private Long updateUser;

	@ApiModelProperty(value = "默认为0,1为删除")
    private Integer isDelete;

	@ApiModelProperty(value = "单据状态")
    private Integer status;

    @Override
    public String checkParam() {
        return null;
    }

}
